import request from "@/utils/request";

// 活动表列表
export function apiZgActivityLists(params: any) {
  return request.get({ url: "/activity.zg_activity/lists", params });
}

// 添加活动表
export function apiZgActivityAdd(params: any) {
  return request.post({ url: "/activity.zg_activity/add", params });
}

// 编辑活动表
export function apiZgActivityEdit(params: any) {
  return request.post({ url: "/activity.zg_activity/edit", params });
}

// 删除活动表
export function apiZgActivityDelete(params: any) {
  return request.post({ url: "/activity.zg_activity/delete", params });
}

// 活动表详情
export function apiZgActivityDetail(params: any) {
  return request.get({ url: "/activity.zg_activity/detail", params });
}

//修改状态
export function apiZgActivityUpdateStatus(params: any) {
  return request.post({ url: "/activity.zg_activity/status", params });
}

//查看归属人
export function BelongingPersonLookparams(params: any) {
  return request.get({ url: "/activity.zg_activity/look", params });
}
//设置/分配归属人
export function BelongingPersonAllocation(params: any) {
  return request.post({ url: "/activity.zg_activity/status", params });
}

//获取高级设置
export function ViewAdvancedSettings(params: any) {
  return request.get({ url: "/activity.zg_activity/detail", params });
}

//高级设置
export function ViewAdvancedUpdate(params: any) {
  return request.post({ url: "/activity.zg_activity/update", params });
}

//分配归属人
export function ViewAdvancedSettingsALL(params: any) {
  return request.post({ url: "/activity.zg_activity/set", params });
}

//复制活动
export function copyActivityLink(params: any) {
  return request.post({ url: "/activity.zg_activity/copys", params });
}

//轮询未读消息
export function unreadNotice(params: any) {
  return request.get({ url: "/activity.zg_activity/getHourLogNum", params });
}

// 是否展示到数据大屏查看
export function set_sjdp(params: any) {
  return request.post({ url: "/activity.zg_activity/set_sjdp", params });
}

// 设置新链接
export function set_new(params: any) {
  return request.post({ url: "/activity.zg_activity/set_new", params });
}
